package com.gdit.zax.dao;

import java.util.ArrayList;

import com.gdit.zax.entitys.DownRecordALL;
import com.gdit.zax.entitys.VideoALL;
import com.gdit.zax.entitys.VideoRecord;

/**
 * 视频记录接口
 * @author lenovo
 *
 */
public interface VideoRecordDao {
	//获取下载记录数
	public int getDownSum(int vid);
	public int getSeeSum(int vid);
	
	public boolean addseerecord(VideoRecord vr);
	public boolean adddownrecord(VideoRecord vr);
	
	
	public ArrayList<DownRecordALL> listMyDwonRecord(int id,int page,int onepagecount);
	
	public ArrayList<VideoALL> listMySeeRecord(int id,int page,int onepagecount);
	
	public ArrayList<VideoALL> listSeeRecord(int page,int onepagecount);
	
	public ArrayList<DownRecordALL> listDownRecord(int page,int onepagecount);
	
}
